package org.nf.box.common.exception;

import lombok.Getter;

/**
 * @Author lzp
 * @Date 2024-11-27
 */
@Getter
public enum ErrorMessageEnum {
    /**
     * 商品售完
     */
    SELL_OUT(10001,""),
    /**
     * 下单失败
     */
    PLACE_ORDER_FAIL(10002,"");

    private final int code;
    private final String message;

    ErrorMessageEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
